package com.source.tiershop.shared;

import java.util.Date;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.datatype.XMLGregorianCalendar;

@SuppressWarnings("serial")
public class CShop implements java.io.Serializable {

	@XmlElement(name = "ShopId")
    protected Integer shopId;
    @XmlElement(name = "ProgramId")
    protected Integer programId;
    @XmlElementRef(name = "Title")
    protected String title;
    @XmlElementRef(name = "LastUpdate")
    protected Date lastUpdate;
    @XmlElementRef(name = "LogoUrl")
    protected String logoUrl;
    @XmlElement(name = "Products")
    protected Integer products;
    
    public CShop(Integer shopId, Integer programId, String title,
    		Date lastUpdate, String logoUrl, Integer products) {
    	super();
    	this.shopId = shopId;
    	this.programId = programId;
    	this.title = title;
    	this.lastUpdate = lastUpdate;
    	this.logoUrl = logoUrl;
    	this.products = products;
    }

    public CShop() {
    	super();
    }

    public void setComplete(Integer shopId, Integer programId, String title,
    		Date lastUpdate, String logoUrl, Integer products) {
    	this.shopId = shopId;
    	this.programId = programId;
    	this.title = title;
    	this.lastUpdate = lastUpdate;
    	this.logoUrl = logoUrl;
    	this.products = products;
    }
    
	public Integer getShopId() {
		return shopId;
	}
	public Integer getProgramId() {
		return programId;
	}
	public String getTitle() {
		return title;
	}
	public Date getLastUpdate() {
		return lastUpdate;
	}
	public String getLogoUrl() {
		return logoUrl;
	}
	public Integer getProducts() {
		return products;
	}
    
}
